package com.smart.manager.weixin.mp.entities.models;

import com.smart.common.entities.core.BaseLongModel;
import com.smart.manager.weixin.mp.entities.enums.WeixinMpAccountType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import java.time.LocalDateTime;

/**
 * 等级店员
 *
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@Accessors(chain = true)
public class WeixinMpAccount extends BaseLongModel {

    @ApiModelProperty("公众号名称")
    private String name;

    @ApiModelProperty("公众号类型")
    private WeixinMpAccountType type;


    @ApiModelProperty(value = "公众号appid")
    private String appId;


    @ApiModelProperty(value = "公众号秘钥")
    private String secret;


    @ApiModelProperty(value = "通知Token")
    private String token;


    @ApiModelProperty(value = "AES加密盐")
    private String aesKey;


    @ApiModelProperty(value = "公众号二维码")
    private String qrPhoto;


    @ApiModelProperty(value = "客服二维码")
    private String kfPhoto;


    @ApiModelProperty(value = "接入时间")
    private LocalDateTime authTime;

}


